﻿using System;

namespace Simp.CodeModel
{
	/// <summary>Visitor of <see cref="IFunction"/>, following the visitor pattern.</summary>
	public interface IFunctionVisitor
	{
		/// <summary>Visits a function and returns a potentially transformed version of it.</summary>
		/// <param name="function"></param>
		/// <returns></returns>
		IFunction Visit(IFunction function);
	}
}